package com.ruoyi.oa.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 资产管理视图对象 oa_admin_asset
 *
 * @author ruoyi
 * @date 2023-08-28
 */
@Data
@ExcelIgnoreUnannotated
public class OaAdminAssetVo {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ExcelProperty(value = "主键")
    private String id;

    /**
     * 部门id
     */
    @ExcelProperty(value = "部门id")
    private Long deptId;

    /**
     * 用户id
     */
    @ExcelProperty(value = "用户id")
    private Long userId;

    /**
     * 资产类型
     */
    @ExcelProperty(value = "资产类型", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "asset_type")
    private String assetType;

    /**
     * 资产编码
     */
    @ExcelProperty(value = "资产编码")
    private String assetCode;

    /**
     * 物品名称
     */
    @ExcelProperty(value = "物品名称")
    private String productName;

    /**
     * 入库数量
     */
    @ExcelProperty(value = "入库数量")
    private Integer inputNum;

    /**
     * 领用数量
     */
    @ExcelProperty(value = "领用数量")
    private Integer useNum;

    /**
     * 剩余数量
     */
    @ExcelProperty(value = "剩余数量")
    private Integer leaveCount;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remarks;


}
